package com.neusoft.tmall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-neusoft-tmall-entity-UmsAdmin")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "mall.ums_admin")
public class UmsAdmin implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Long id;

    @TableField(value = "username")
    @ApiModelProperty(value="")
    private String username;

    @TableField(value = "password")
    @ApiModelProperty(value="")
    private String password;

    /**
     * å¤´åƒ
     */
    @TableField(value = "icon")
    @ApiModelProperty(value="å¤´åƒ")
    private String icon;

    /**
     * é‚®ç®±
     */
    @TableField(value = "email")
    @ApiModelProperty(value="é‚®ç®±")
    private String email;

    /**
     * æ˜µç§°
     */
    @TableField(value = "nick_name")
    @ApiModelProperty(value="æ˜µç§°")
    private String nickName;

    /**
     * å¤‡æ³¨ä¿¡æ¯
     */
    @TableField(value = "note")
    @ApiModelProperty(value="å¤‡æ³¨ä¿¡æ¯")
    private String note;

    /**
     * åˆ›å»ºæ—¶é—´
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="åˆ›å»ºæ—¶é—´")
    private Date createTime;

    /**
     * æœ€åŽç™»å½•æ—¶é—´
     */
    @TableField(value = "login_time")
    @ApiModelProperty(value="æœ€åŽç™»å½•æ—¶é—´")
    private Date loginTime;

    /**
     * å¸å·å¯ç”¨çŠ¶æ€ï¼š0->ç¦ç”¨ï¼›1->å¯ç”¨
     */
    @TableField(value = "status")
    @ApiModelProperty(value="å¸å·å¯ç”¨çŠ¶æ€ï¼š0->ç¦ç”¨ï¼›1->å¯ç”¨")
    private Integer status;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";

    public static final String COL_ICON = "icon";

    public static final String COL_EMAIL = "email";

    public static final String COL_NICK_NAME = "nick_name";

    public static final String COL_NOTE = "note";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_LOGIN_TIME = "login_time";

    public static final String COL_STATUS = "status";
}